<div class="form-group row">
  <label class="col-md-2 col-form-label" for="text-input">{{ $label??'商品描述' }}</label>
  <div class="col-md-9">
    <div id="content">
    	
    </div>
    <textarea name="description" id="description" cols="30" rows="10" style="display: none;"></textarea>
  </div>
</div>

<script src="https://unpkg.com/wangeditor@3.1.1/release/wangEditor.min.js"></script>
<script type="module">
	
		const e = window.wangEditor;
		const editor = new e('#content');
		const con = "{{$default}}"
		editor.create();
		editor.txt.html(con)

		$("form").on('submit', function() {
			$("#description").val(editor.txt.html())
		})

</script>